package cn.junki.shardingjdbcdemo1.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Junki
 * @date 2023-09-14 15:27:54
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("product_order")
public class ProductOrder {

    @TableId
    private Long orderId;

    private Long customerId;

    private Date orderDate;

    private Long productId;

    private Integer quantity;

    private BigDecimal totalPrice;

}
